package com.caiya.service;

import com.caiya.cart.dto.cartinfo.CartAllListDto;
import com.caiya.cart.dto.cartinfo.CartInfoListDto;
import com.caiya.cart.vo.cartinfo.CartAllListVo;
import com.caiya.cart.vo.cartinfo.CartInfoAddVo;
import com.caiya.cart.vo.cartinfo.CartInfoListVo;
import com.caiya.cart.vo.cartinfo.CartInfoUpdateVo;
import com.github.pagehelper.PageInfo;

/**
 * Created by Administrator on 2018/12/3 0003.
 */
public interface CartInfoService {
    PageInfo<CartInfoListDto> list(CartInfoListVo cartInfoListVo);

    int add(CartInfoAddVo cartInfoAddVo) throws Exception;

    int update(CartInfoUpdateVo cartInfoUpdateVo) throws Exception;

    PageInfo<CartAllListDto> allList(CartAllListVo cartAllListVo);
}
